CC=g++

.PHONY:all
all:tcp_client tcp_server 

tcp_client:tcp_client.cc
	$(CC) $^ -o $@ -std=c++11 #-static

tcp_server:tcp_server.cc
	$(CC) $^ -o $@ -std=c++11 -lpthread

.PHONY:clean 
clean:
	rm -rf tcp_client tcp_server 
